SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50919: Facts might not be deleted when you delete them using the SAS® Financial Management fm_3000_delete_fact_data job in SAS® Data Integration Studio

DetailsAboutRate It

In SAS Financial Management, you can delete transactions using the fm_3000_delete_fact_data job in SAS Data Integration Studio or using user-written code that calls the %ETLDLFCT macro to delete facts from a cycle.

When you use the jobs in SAS Data Integration Studio or user-written code, you must specify the dimension member selection list to use in selecting which transactions to delete. Here is an example:

data WORK.BASE_FACT_dimMbrSelection;    length SAS_DIM_CODE SAS_MBR_CODE $32 ;    SAS_DIM_CODE = "TIME" ;    SAS_MBR_CODE = "YR2MTH12";    output ;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "ACTUAL" ;    output;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "BUDGET" ;    output ;    SAS_DIM_CODE = "CUSTOMER";    SAS_MBR_CODE = "C00001";    output ; run ;

It is important to note that the observations in this table must be in dimension type order as shown above.

If the dimension member selection table contains observations that are not sorted by dimension type, as shown in the following example, the existing fact records for these crossing might not be deleted.

data WORK.BASE_FACT_dimMbrSelection;    length SAS_DIM_CODE SAS_MBR_CODE $32 ;    SAS_DIM_CODE = "TIME" ;    SAS_MBR_CODE = "YR2MTH12";    output ;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "ACTUAL" ;    output;    SAS_DIM_CODE = "CUSTOMER";    SAS_MBR_CODE = "C00001";    output ;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "BUDGET" ;    output ; run ;

To correct this problem, unzip this file and extract the contents to the relevant location:

Windows: installation_drive:\Program Files\SASHome\SASFoundation\9.3\finance\sasmacro

UNIX: SAS_93/sasmacro/finance directory


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Financial ManagementMicrosoft® Windows® for x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Enterprise 32-bit5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Enterprise x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Pro 32-bit5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Pro x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 Standard Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 for x645.3_M19.3 TS1M2
Microsoft Windows Server 20085.3_M19.3 TS1M2
Microsoft Windows Server 2008 R25.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Datacenter5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Std5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows XP Professional5.3_M19.3 TS1M2
Windows 7 Enterprise 32 bit5.3_M19.3 TS1M2
Windows 7 Enterprise x645.3_M19.3 TS1M29.4 TS1M0
Windows 7 Home Premium 32 bit5.3_M19.3 TS1M2
Windows 7 Home Premium x645.3_M19.3 TS1M2
Windows 7 Professional 32 bit5.3_M19.3 TS1M2
Windows 7 Professional x645.3_M19.3 TS1M29.4 TS1M0
Windows 7 Ultimate 32 bit5.3_M19.3 TS1M2
Windows 7 Ultimate x645.3_M19.3 TS1M2
Windows Vista5.3_M19.3 TS1M2
Windows Vista for x645.3_M19.3 TS1M2
64-bit Enabled AIX5.3_M19.3 TS1M29.4 TS1M0
64-bit Enabled Solaris5.3_M19.3 TS1M29.4 TS1M0
HP-UX IPF5.3_M19.3 TS1M29.4 TS1M0
Linux for x645.3_M19.3 TS1M29.4 TS1M0
Solaris for x645.3_M19.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.